<template>
    <div>
        <el-divider content-position="left" v-if="user().my.pids.includes('31')">
            <h2>产品管理</h2>
        </el-divider>
        <productManage />
    </div>
    <div style="margin-top: 30px;" v-if="user().my.pids.includes('39')">
        <el-divider content-position="left">
            <h2>供应商管理</h2>
        </el-divider>
        <supplierManage />
    </div>
    <div style="margin-top: 30px;" v-if="user().my.pids.includes('36')">
        <el-divider content-position="left">
            <h2>产品类型管理</h2>
        </el-divider>
        <productTypeManage />
    </div>
</template>

<script setup>
import { user } from '@/pinia/modules/user'
import productManage from './ProductManage.vue'
import supplierManage from './SupplierManage.vue'
import productTypeManage from './ProductTypeManage.vue'
</script>